package com.qingcloud.adminbackend.entity.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author liyuhong
 * @since 2019-01-02
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("sys_domain")
public class SysDomain extends Model {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "区域ID", example = "370800")
    private Long id;

    @ApiModelProperty(value = "区域父ID", example = "370800")
    private Long parentId;

    /**
     * 区域名称
     */
    @ApiModelProperty(value = "区域名称", example = "济宁市")
    private String domainName;

    /**
     * 1:省;2:市;3:区;4:街道
     */
    @ApiModelProperty(value = "1:省;2:市;3:区;4:街道", example = "1")
    private String cityType;

    /**
     * 城市群 1长三角 2珠三角 3成渝
     */
    @ApiModelProperty(value = "城市群 1长三角 2珠三角 3成渝", example = "1")
    private String areaCode;

    /**
     * 中心经度(百度)
     */
    private BigDecimal lngB;

    /**
     * 中心纬度(百度)
     */
    private BigDecimal latB;

    /**
     * gps
     */
    private BigDecimal lngReal;

    /**
     * gps
     */
    private BigDecimal latReal;

    /**
     * 338城市(1为是；0为否）
     */
    private String flagCommon;

    /**
     * 2+26城市(1为是；0为否）
     */
    private String flagKey;

    /**
     * 环保部74城市标志(1为是；0为否）
     */
    private String flagEmphases;

    /**
     * 0:未安装wm站点;1:已安装蛙鸣站点
     */
    private String wmStationFlag;

    private LocalDateTime createDt;

    private String createBy;

    private LocalDateTime modifyDt;

    private String modifyBy;

    private String firstPinyin;


}
